package com.demo.model.SysUser;

import com.demo.model.Role.Role;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.util.List;


@Data
public class SysUser {

    private Long uid;
    private String username;
    private String address;
    @JsonIgnore//Json不返回该属性
//    @Setter(AccessLevel.PRIVATE)
    private String password;

    private String phone;

    private String headSculpture;

    //是否被删除
    private int isDel;

    //是否被禁用
    private int disabled;

    //角色集合
    List<Role> roleList;


}
